﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MVCTutorial.Core.Model
{
	internal interface IBaseRepository<T, IdType>
	{
		void Add(T entity);
		void Remove(IdType id);
		void Update(T entity);
		T GetById(IdType id);
		IEnumerable<T> GetAll();
	}
}